package com.ruoyi.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 租户对象 sys_tenant
 *
 * @author mn
 * @date 2023-01-21
 */
@Data
public class SysTenant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long tenantId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 用户数量限制 */
    @Excel(name = "用户数量限制")
    private Long userNumLimit;

    /** 启用 0-禁用  1-启用 */
    @Excel(name = "启用 0-禁用  1-启用")
    private Integer enabled;

    /** 到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireTime;

}
